import request from "@/utils/request";
const service = () => {
  return !!JSON.parse(localStorage.$loginInfo).tenantId ? "/event" : "/ttevent";
};
export function getOrderList(data) {
  return request({
    url: "/ttevent/alarm/satellite/getOrderList",
    method: "post",
    data: data,
  });
}
export function findOrderAlarm(query) {
  return request({
    url: service() + "/alarm/type/findOrderAlarm",
    method: "post",
    data: query,
  });
}
